﻿using DotNetty.Transport.Channels;
using FileCommon.Models;

namespace FileClient.Core.Client.Processor;

public interface IClientFileProcessor
{
    Task ClientReadFile(IChannelHandlerContext context, FileStream fileStream,string hashMd5);
    Task ClientReadFile(IChannelHandlerContext context, UploadFileInfo uploadFileInfo, FileStream fileStream);

    Task ClientWriteFile(IChannelHandlerContext context, UploadFileInfo uploadFileInfo);
    Task ClientWriteFile(IChannelHandlerContext context, UploadFileInfo uploadFileInfo, FileStream fileStream);
}